package com.zhixiang.xaec.dao.system.impl;


import org.springframework.stereotype.Repository;

import com.zhixiang.core.dao.impl.BaseDaoImpl;
import com.zhixiang.xaec.dao.system.AppUserDao;
import com.zhixiang.xaec.entity.system.AppUser;


@Repository("appUserDao")
public class AppUserDaoImpl extends BaseDaoImpl<AppUser, Long> implements AppUserDao
{
    public AppUser findByUserName(String userName)
    {
        String str1 = "FROM AppUser au WHERE au.username=?";
        Object[] arrayOfObject = {userName};
        return uniqueResult(str1, arrayOfObject);
    }

}
